package com.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.dao.TestPaperQuestionMapper;
import com.entity.TestPaperQuestion;
/**
 * Version: V1.0    <br/>
 * Datetime:   2022/5/15 16:35   <br/>
 * Description: ${DES}
 *
 * @author: chen
 */
@Service
public class TestPaperQuestionService{

    @Resource
    private TestPaperQuestionMapper testPaperQuestionMapper;

    
    public int deleteByPrimaryKey(Integer id) {
        return testPaperQuestionMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(TestPaperQuestion record) {
        return testPaperQuestionMapper.insert(record);
    }

    
    public int insertSelective(TestPaperQuestion record) {
        return testPaperQuestionMapper.insertSelective(record);
    }

    
    public TestPaperQuestion selectByPrimaryKey(Integer id) {
        return testPaperQuestionMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(TestPaperQuestion record) {
        return testPaperQuestionMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(TestPaperQuestion record) {
        return testPaperQuestionMapper.updateByPrimaryKey(record);
    }

}
